package org.example.impl;

import org.example.tools.utilsTools;

public class heartbeatDetectionImpl implements Runnable{
    @Override
    public void run() {
        while (true){
            synchronized (heartbeatDetectionImpl.class){
                try {
                    Thread.sleep(50);
                    utilsTools.dataDistribution(heartbeatDetectionImpl.class);
                }catch (Exception e){e.printStackTrace();}
            }
        }
    }
}
